num1=int(input())
op=input()
num2=int(input())
if op=='/' and num2==0:
    print("divided by zero")
else:
    d={'+':num1+num2,'-':num1-num2,'*':num1*num2,'/':num1/num2}
    print(f"{d[op]:.2f}")